#!/usr/bin/env python
class Player:
    
    def __init__(self, name):
        self.__starting_life_points = 4
        self.__life_points_left = self.__starting_life_points
        self.__eliminated = False
        self.__name = name
        
    def loses_life_point(self):
        if self.__eliminated:
            return
        self.__life_points_left = self.__life_points_left - 1;
        if self.__life_points_left == 0:
            self.eliminate()
            
    def eliminate(self):
        self.__eliminated = True
        
    def get_name(self):
        return self.__name
    
    def get_life_points_left(self):
        return self.__life_points_left
    
    def get_starting_life_points(self):
        return self.__starting_life_points
    
    def is_eliminated(self):
        return self.__eliminated

    